package edu.xust.mapper;

import edu.xust.entity.Audits;
import edu.xust.entity.AuditsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AuditsMapper {
    long countByExample(AuditsExample example);

    int deleteByExample(AuditsExample example);

    int deleteByPrimaryKey(Integer auid);

    int insert(Audits record);

    int insertSelective(Audits record);

    List<Audits> selectByExample(AuditsExample example);

    List<Audits> selectAuditsByAdidAndAdmin(AuditsExample auditsExample);

    List<Audits> selectAuditsByAduid(Integer aduid);

    Audits selectByPrimaryKey(Integer auid);

    int updateByExampleSelective(@Param("record") Audits record, @Param("example") AuditsExample example);

    int updateByExample(@Param("record") Audits record, @Param("example") AuditsExample example);

    int updateByPrimaryKeySelective(Audits record);

    int updateByPrimaryKey(Audits record);
}